package com.woniu.smart.mapper;

import com.woniu.smart.entity.SysAdmin;

import java.util.List;

/**
* @author wangheng
* @description 针对表【sys_admin】的数据库操作Mapper
* @createDate 2022-10-19 19:23:47
* @Entity com.woniu.smart.entity.SysAdmin
*/
public interface SysAdminMapper {

    SysAdmin selectEmpTelByEmpName(String EmpName);
    List<SysAdmin> selectByAll();
    int deleteByPrimaryKey(Long id);

    int insert(SysAdmin record);

    int insertSelective(SysAdmin record);

    int selectByEmpName(String empName);
    SysAdmin selectByPrimaryKey(Long id);
    SysAdmin login(String empTel);

    int updateByPrimaryKeySelective(SysAdmin record);

    int updateByPrimaryKey(SysAdmin record);

}
